home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / wnos5src.zip / ICMPMSG.C < prev    next >
Text File  |  1993-08-09  |  685b  |  48 lines

  1. #include "global.h"
  2.  
  3. /* ICMP message types */
  4. char *Icmptypes[] = {
  5.     "Echo Reply",
  6.     "",
  7.     "",
  8.     "Unreachable",
  9.     "Source Quench",
  10.     "Redirect",
  11.     "",
  12.     "",
  13.     "Echo Request",
  14.     "",
  15.     "",
  16.     "Time Exceeded",
  17.     "Parameter Problem",
  18.     "Timestamp",
  19.     "Timestamp Reply",
  20.     "Information Request",
  21.     "Information Reply"
  22. };
  23.  
  24. /* ICMP unreachable messages */
  25. char *Unreach[] = {
  26.     "Network",
  27.     "Host",
  28.     "Protocol",
  29.     "Port",
  30.     "Fragmentation",
  31.     "Source route"
  32. };
  33.  
  34. /* ICMP Time exceeded messages */
  35. char *Exceed[] = {
  36.     "Time-to-live",
  37.     "Fragment reassembly"
  38. };
  39.  
  40. /* ICMP redirect messages */
  41. char *Redirect[] = {
  42.     "Network",
  43.     "Host",
  44.     "TOS & Network",
  45.     "TOS & Host"
  46. };
  47.  
  48.